@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-title">
                <h5>应收应付明细报表</h5>
            </div>
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
						    <div class="col-sm-3" style="width: 200px">
								<#SelectCon id="platform" name="平台名称" >
									${deptutil.getPlatformById()}
								</#SelectCon>
							</div>
                            <div class="col-sm-3" style="width: 250px">
                                <#SelectCon id="contact" name="往来客户"   >
                                ${customerinfoutil.getCustomeryPlatform()}
                                </#SelectCon>
                            </div>

						    <div class="col-lg-2 col-sm-3" style="width: 250px">
						     <#TimeCon id="beginDate" name="开始时间" isTime="false" pattern="YYYY-MM-DD" value="${tool.currentDate(0)}" />
                             </div>
							<div class="col-lg-2 col-sm-3" style="width: 250px">
								<#TimeCon id="endDate" name="结束时间" isTime="false" pattern="YYYY-MM-DD"  value="${tool.currentDate(0)}" />
							</div>
                            <div class="col-lg-2 col-sm-3" style="width: 250px">
                                <#SelectCon id="type" name="类型"  >
                                ${dictutil.getDictsByCode("borrowingInfo_type")}
                            </#SelectCon>
                        </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="BorrowingInfo.search()"/>
								<#button name="重置" icon="fa-trash" clickFun="BorrowingInfo.resetSearch()" space="true"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="BorrowingInfoTableToolbar" role="group">
                            @if(shiro.hasPermission("/borrowingInfo/add")){
                                <#button name="添加" icon="fa-plus" clickFun="BorrowingInfo.openAddBorrowingInfo()"/>
                            @}
                            @if(shiro.hasPermission("/borrowingInfo/update")){
                                <#button name="修改" icon="fa-edit" clickFun="BorrowingInfo.openBorrowingInfoDetail()" space="true"/>
                            @}
							@if(shiro.hasPermission("/borrowingInfo/addBalance")){
                                <#button name="期初余额设置" icon="fa-edit" clickFun="BorrowingInfo.openAddBalance()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/borrowingInfo/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="BorrowingInfo.delete()" space="true"/>
                            @}
                            <#button name="导出" icon="fa-plus" clickFun="BorrowingInfo.exportBorrowingInfo()" space="true"/>
                        </div>
                        <#table id="BorrowingInfoTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/borrowing/borrowingInfo/borrowingInfo.js"></script>
@}
